package com.kangyi.user.mapper;

import com.github.pagehelper.Page;
import com.kangyi.dto.PublicActivityPageQueryDTO;
import com.kangyi.vo.PublicActivityListVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Blank
 * @version 1.0
 */
@Mapper
public interface PublicActivityMapper {
    List<PublicActivityListVO> listPublicActivity();

    Page<PublicActivityListVO> pageQuery(@Param("queryDTO") PublicActivityPageQueryDTO publicActivityPageQueryDTO);

    List<PublicActivityListVO> getOverPublicActivity(@Param("integers") ArrayList<Integer> integers, @Param("num") int num);
}
